package com.xcity.pomelo.response;

import java.util.Collections;
import java.util.List;

import com.xcity.game.common.ItemResponse;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class ActivityCharmTopCongratulationResponse extends Response {

	private int num;
	private List<ItemResponse> items;
	
	public ActivityCharmTopCongratulationResponse(int serial, List<ItemResponse> items, int leftTimes) {
		super(serial);
		this.items = items != null ? items : Collections.emptyList();
		this.num = leftTimes;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public List<ItemResponse> getItems() {
		return items;
	}

	public void setItems(List<ItemResponse> items) {
		this.items = items;
	}
	
}
